<div class="content4 content41 page" data-page="pickupDetail" id="pickupDetail">
	<p class="location">
		当前位置:
		<label class="locationInfo"><a href="javascript:void(0)" class="platform_main">首页</a> &nbsp;&gt;&nbsp;<a href="javascript:void(0)" class="pickupList">提货审批列表</a>&nbsp;&gt;&nbsp;提货审批详情</label>
		<a class="print" style="text-decoration: none; text-align: justify; margin-top: 10px; margin-right: 10px; width: 87px; text-align: center;">打印</a>
	</p>
	<div class="pickupDetailContent">
		<div class="pickupDetailTitle">
			<span>提货申请信息</span>
			<a id="consentPickup" style="text-decoration: none;">同意提货</a>
			<a id="oppasePickup" style="text-decoration: none;">拒绝提货</a>
		</div>
		<div class="dataline">
			<div class="w30p">提货申请单号：
				<a class="data" name="pickupNumber"></a>
			</div>
			<div class="w30p">所属融资编号：
				<a class="data" name="financeNumber"></a>
			</div>
			<div class="w30p">申请人：<span class="data" name="enterpriseName"></span>-<span class="data" name="applicant"></span></div>
		</div>
		<div class="dataline">
			<div class="w30p">提货方式：<span id="pickupDetailPickupMethod" class="data" name="pickupMethod"></span></div>
			<div class="w30p">配送方式：<span id="pickupDetailDeliveryMethod" class="data" name="deliveryMethod"></span></div>
			<div class="w30p">配送时间：<span class="data" name="deliveryDate"></span></div>
		</div>
		<div class="dataline">
			<div class="w30p">配送地址：<span class="data" name="deliveryAddress"></span></div>
			<div class="w30p">预计应还：<span style="color: #ff7344; font-weight: bold;">&#65509;<span class="data" name="estimateAmount"></span></span>
			</div>
			<div class="w30p"></div>
		</div>
		<div class="dataline">附件清单：<span class="fs"></span></div>
		<div class="dataline">申请备注：<span class="data" name="remark"></span></div>
		<div class="barcode" style="float: right; margin-right: 10px; margin-top: 10px;"></div>
		<div>
			<div class="dataline tableTip">申请提货货物：</div>
			<table class="bulkstockTable" border="0" cellspacing="0" cellpadding="0" id="pickupDetailBulkstockBody">
				<script type="text/template" id="pickupDetailBulkstockTpl">
					<tr>
						<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;货物名称</th>
						<th>规格型号</th>
						<th>重量(吨)</th>
						<th>体积(m<sup>3</sup>)</th>
						<th>已提</th>
						<th>本次预提数量</th>
					</tr>
					{@each datas as it} {@each it.pickupBulkstocks as item}
					<tr>
						<td style="display: block; margin-left: 21px;">${item.bulkstockName}</td>
						<td>${item.specification}</td>
						<td>${item.weight}</td>
						<td>${item.volume}</td>
						<td>${item.pickup}(${item.unit})</td>
						<td style="display: block; margin-right: 27px;">${item.quantity}(${item.unit})</td>
					</tr>
					{@/each} {@/each}
				</script>
			</table>
		</div>
		<div>
			<div class="saperateLine">------------------------------------------------------------------------------ 指定货箱 ------------------------------------------------------------------------------</div>
			<table class="inventoryTable" border="0" cellspacing="0" cellpadding="0" id="pickupDetailInventoryBody">
				<script type="text/template" id="pickupDetailInventoryTpl">
					<tr>
						<th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱号</th>
						<th>箱型尺寸</th>
						<th>运单号</th>
						<th>货物</th>
						<th>数量</th>
						<th>重量</th>
						<th>体积</th>
						<th>货物金额</th>
						<th>融资金额</th>
						<th class="none">差额</th>
						<th>计息期间</th>
						<th>状态</th>
						<th>操作</th>
					</tr>
					{@each datas as it} {@each it.containerInventorys as item, index}
					<tr inventoryId="${item.inventoryId}">
						<td>${index*1 + 1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${item.caseNumber}</td>
						<td>${item.caseSize}</td>
						<td>${item.waybillNumber}</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.bulkstockName}(${that.specification})<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.quantity}(${that.unit})<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.weight}(吨)<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} ${that.volume}(m³)<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} &#65509;${formatCurrency(that.evaluateValuation)}<br /> {@/each}
						</td>
						<td>
							{@each item.containerBulkstocks as that} &#65509;${formatCurrency(that.financeValuation*1 + item.adjustment*1)}<br /> {@/each}
						</td>
						<td class="none">&#65509;${item.adjustment}</td>
						<td>${(item.valueDate).substring(0, 10)}~${it.deliveryDate}</td>
						<td>${getValueByKey(5, item.supervisionState)}</td>
						<td>
							<a href="javascript:void(0);" class="detail">详情</a>
						</td>
					</tr>
					{@/each} {@/each}
				</script>
			</table>
		</div>
		<div>
			<div class="saperateLine">------------------------------------------------------------------------------ 换货信息 ------------------------------------------------------------------------------</div>
			<table class="table" id="exchangeBulkstockTable">
				<script type="text/template" id="exchangeBulkstockTpl">
					<tr>
						<th>货物名称</th>
						<th>规格型号</th>
						<th>生产厂家</th>
						<th>产地</th>
						<th>估值单价</th>
						<th>重量</th>
					</tr>
					{@each datas as it} {@each it.exchangeBulkstockInfo as item}
					<tr>
						<td>${item.bulkstockName}</td>
						<td>${item.specification}</td>
						<td>${item.manufacture}</td>
						<td>${item.originPlace}</td>
						<td>${item.bulkstockPrice}</td>
						<td>${item.weight}吨</td>
					</tr>
					{@/each} {@/each}
				</script>
			</table>
		</div>
		<div>
			<div class="saperateLine">------------------------------------------------------------------------------ 换箱信息 ------------------------------------------------------------------------------</div>
			<table class="table" id="exchangeInventoryTable">
				<script type="text/template" id="exchangeInventoryTpl">
					<tr>
						<th>物流运单号</th>
						<th>箱号</th>
						<th>箱型尺寸</th>
						<th>铅封号</th>
						<th>货物名称</th>
						<th>规格型号</th>
						<th>重量</th>
						<th>理货时间</th>
						<th>操作 <a href="javascript:void(0);" class="syncAll">批量同步</a></th>
					</tr>
					{@each datas as it} {@each it.exchangeContainerInventory as item, index}
					<tr waybillNumber="${item.waybillNumber}" caseNumber="${item.caseNumber}" containerId="${item.containerId}" trayNumber="${item.trayNumber}" bulkstockName="${item.exchangeContainerBulkstock[0].bulkstockName}" quantity="${item.exchangeContainerBulkstock[0].quantity}" weight="${item.exchangeContainerBulkstock[0].weight}" volume="${item.exchangeContainerBulkstock[0].volume}">
						<td>${index*1 + 1} ${item.waybillNumber}</td>
						<td>${item.caseNumber}</td>
						<td>${item.caseSize}</td>
						<td>${item.facingSlip}</td>
						<td>
							{@each item.exchangeContainerBulkstock as that} ${that.bulkstockName}
							<br /> {@/each}
						</td>
						<td>
							{@each item.exchangeContainerBulkstock as that} ${that.specification}
							<br /> {@/each}
						</td>
						<td>
							{@each item.exchangeContainerBulkstock as that} ${that.weight}吨
							<br /> {@/each}
						</td>
						<td>
							${(item.tallyDateTime).substring(0, 10)}
						</td>
						<td>
							{@if item.tallyDateTime == "" && it.exchangeStatus == 2}
							<a href="javascript:void(0);" class="sync">同步</a><a href="javascript:void(0);" class="createBlankInfo" style="margin-left:10px;">修改</a> <!--<a href="javascript:void(0);" class="manual">手动录入</a>-->
							{@/if}
							<a href="javascript:void(0);" class="syncDetail">详情</a>
							
						</td>
					</tr>
					{@/each} {@/each}
				</script>
			</table>
		</div>
	</div>
	<div class="pagerCon"></div>
	<div class="saperateLine">------------------------------------------------------------------------------ 评估信息 ------------------------------------------------------------------------------</div>
	<div class="pickupConsentSum"></div>
	<div style="margin-left: 35px;">许可额度：&#65509;<span class="data" name="allowValuation"></span></div>
	<div id="exchangeBulkstockInfoBody2">
			<script type="text/template" id="exchangeBulkstockInfoTpl2">
				{@each datas as it}
				{@each it.exchangeBulkstockInfo as item}
				<div class="dataline" style="margin-left: 35px;">
					<div style="margin-bottom: 15px; font-weight: bold; display: block;">置换货物：${item.bulkstockName}(${item.specification})--${item.weight}吨</div>
					<div style="width: 25%;">最高价格：&#65509;${item.highestPrice}</div>
					<div style="width: 25%;">最低价格：&#65509;${item.lowestPrice}</div>
					<div style="width: 25%;">评估单价：&#65509;${item.evaluatePrice}</div>
					<div style="width: 25%;">评估价格：&#65509;${item.evaluateValuation}</div>
				</div>
				{@/each}
				{@/each}
			</script>
		</div>
		<div class="saperateLine">------------------------------------------------------------------------------ 审批信息 ------------------------------------------------------------------------------</div>
	<div class="supplementOpinion" style="margin: 27px 44px 0 35px;">
		<a href="javascript:void(0);" class="auditRecord">查看审批记录</a>
		<input type="hidden" name="pickupId" />
		<div class="ceoAudit">
			<input type="hidden" name="ceoAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 商务部审核： <select name="ceoAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="ceoAuditor"></span> 审批时间：<span class="data" name="ceoAuditDate"></span></span>
			</span>
			<div>
				<textarea class="field-textarea3" name="ceoAudit" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div style="display: inline-block">
					<input permissionid="pickupConsentCeoAudit_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Yes button-submit none" value="保存" /><br />
					<input permissionid="pickupConsentCeoAudit_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Submit button-submit none" value="提交" />
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="businessAudit">
			<input type="hidden" name="businessAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 运营审核： <select disabled="disabled"
				name="businessAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="businessAuditor"></span> 审批时间：<span class="data" name="businessAuditDate"></span>
			</span></span>
			<div>
				<textarea class="field-textarea3" name="businessAudit" disabled="disabled" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div class="clear"></div>
			</div>
		</div>
		<!--<div class="audit1">
			<input type="hidden" name="auditSubmitState1" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 运营领导审核： <select disabled="disabled"
				name="auditState1">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="auditor1"></span> 审批时间：<span class="data" name="auditDate1"></span>
			</span></span>
			<div>
				<textarea class="field-textarea3" name="audit1" disabled="disabled" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div class="clear"></div>
			</div>
		</div>-->
		<div class="riskAudit">
			<input type="hidden" name="riskAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 资金审核： <select disabled="disabled"
				name="riskAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="riskAuditor"></span> 审批时间：<span class="data" name="riskAuditDate"></span></span>
			</span>
			<div>
				<textarea class="field-textarea3" name="riskAudit" disabled="disabled" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div class="clear"></div>
			</div>
		</div>
		<div class="riskMemberAudit">
			<input type="hidden" name="riskMemberAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 资金领导审核： <select disabled="disabled"
				name="riskMemberAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="riskMemberAuditor"></span> 审批时间：<span class="data" name="riskMemberAuditDate"></span></span>
			</span>
			<div>
				<textarea class="field-textarea3" name="riskMemberAudit" disabled="disabled" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div class="clear"></div>
			</div>
		</div>
		<div class="financialAudit">
			<input type="hidden" name="financialAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 风控审核： <select disabled="disabled"
				name="financialAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="financialAuditor"></span> 审批时间：<span class="data" name="financialAuditDate"></span>
			</span></span>
			<div>
				<textarea class="field-textarea3" name="financialAudit" disabled="disabled" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div class="clear"></div>
			</div>
		</div>
		<div class="operationAudit">
			<input type="hidden" name="operationAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 风控领导审核： <select disabled="disabled"
				name="operationAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="operationAuditor"></span> 审批时间：<span class="data" name="operationAuditDate"></span></span>
			</span>
			<div>
				<textarea class="field-textarea3" name="operationAudit" disabled="disabled" style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div class="clear"></div>
			</div>
		</div>
		<div class="audit1">
			<input class="submitState" type="hidden" name="auditSubmitState1" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 副总经理审核： <select
				name="auditState1">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="auditor1"></span> 审批时间：<span class="data" name="auditDate1"></span>
			</span></span>
			<div>
				<textarea disabled="disabled" class="field-textarea3" name="audit1"  style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div style="display: inline-block">
					<!--<input permissionid="pickupConsentAudit1_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Yes button-submit none" value="保存" /><br />
					<input permissionid="pickupConsentAudit1_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Submit button-submit none" value="提交" />-->
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<!--<div class="finalAudit">
			<input class="submitState" type="hidden" name="finalAuditSubmitState" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 总经理审核： <select
				name="finalAuditState">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="finalAuditor"></span> 审批时间：<span class="data" name="finalAuditDate"></span></span>
			</span>
			<div>
				<textarea disabled="disabled" class="field-textarea3" name="finalAudit"  style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div style="display: inline-block">
					<!--<input permissionid="pickupConsentFinalAudit_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Yes button-submit none" value="保存" /><br />
					<input permissionid="pickupConsentFinalAudit_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Submit button-submit none" value="提交" />-->
				</div>	
				<div class="clear"></div>
			</div>
		</div>-->
		<!--<div class="audit2">
			<input class="submitState" type="hidden" name="auditSubmitState2" />
			<span class="field-lab2 financing_field-lab2" style="vertical-align: top; margin-top: 15px;"> 董事长审核： <select
				name="auditState2">
					<option value="">请选择</option>
					<option value="true">同意</option>
					<option value="false">拒绝</option>
			</select>
			<span class="auditInfo">审批人：<span style="margin-right: 20px;" class="data" name="auditor2"></span> 审批时间：<span class="data" name="auditDate2"></span>
			</span></span>
			<div>
				<textarea disabled="disabled" class="field-textarea3" name="audit2"  style="margin-top: 10px; float: left; width: 85%;"></textarea>
				<div style="display: inline-block">
					<!--<input permissionid="pickupConsentAudit2_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Yes button-submit none" value="保存" /><br />
					<input permissionid="pickupConsentAudit2_1" style="height: 40px; margin-left: 5px;" type="button" class="button-Submit button-submit none" value="提交" />-->
				</div>
				<div class="clear"></div>
			</div>
		</div>-->
	</div>
</div>